OPC Studio User's Guide and Reference
ElasticVector Constructor(Object[])



OpcLabs.BaseLib Assembly > OpcLabs.BaseLib.Collections Namespace > ElasticVector Class > ElasticVector Constructor : ElasticVector Constructor(Object[])
The array object to be used by the elastic vector.

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value can be null (Nothing in Visual Basic).

Initializes a new instance of the elastic vector that uses the specified underlying array object.
Syntax
'Declaration
 
Public Function New( _
   ByVal objectArray() As Object _
)
'Usage
 
Dim objectArray() As Object
 
Dim instance As New ElasticVector(objectArray)
public ElasticVector( 
   object[] objectArray
)
public:
ElasticVector( 
   array<Object^>^ objectArray
)

Parameters

objectArray
The array object to be used by the elastic vector.

The value of this parameter cannot be null (Nothing in Visual Basic).

The individual elements of the parameter value can be null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also